-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
JetpackBackupStatusFailedViewController.swift
31 lines (24 loc) · 1.36 KB
/
JetpackBackupStatusFailedViewController.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import UIKit
import CocoaLumberjack
import WordPressShared
import WordPressUI
class JetpackBackupStatusFailedViewController: BaseRestoreStatusFailedViewController {
// MARK: - Initialization
override init() {
let configuration = RestoreStatusFailedConfiguration(
title: NSLocalizedString("Backup", comment: "Title for Jetpack Backup Update Status Failed screen"),
messageTitle: NSLocalizedString("Hmm, we couldn’t find your backup status", comment: "Message title displayed when we fail to fetch the status of the backup in progress."),
firstHint: NSLocalizedString("We couldn’t find the status to say how long your backup will take.", comment: "Hint displayed when we fail to fetch the status of the backup in progress."),
secondHint: NSLocalizedString("We’ll still attempt to backup your site.", comment: "Hint displayed when we fail to fetch the status of the backup in progress."),
thirdHint: NSLocalizedString("We’ll notify you when its done.", comment: "Hint displayed when we fail to fetch the status of the backup in progress.")
)
super.init(configuration: configuration)
}
required init?(coder: NSCoder) {
fatalError("init(coder:) has not been implemented")
}
// MARK: - View Lifecycle
override func viewDidLoad() {
super.viewDidLoad()
}
}